home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 131 / XENIATGM131.iso / Goodies / I-WAR 2 Egde of Chaos - New SDK / IW2-EOC_Pog_Scripting_SDK.exe / include / iExodusTraffic.h < prev    next >
Text File  |  2002-01-14  |  2KB  |  73 lines

  1. //
  2. // (c) 1998-9 Particle Systems Ltd. All Rights Reserved
  3. //
  4. // iExodusTraffic.h
  5. //
  6. // Compiler-generated export header for package "iExodusTraffic"
  7. //
  8. // Revision control information:
  9. //
  10. // $Header: /iwar2/resource/scripts/include/iExodusTraffic.h 1     7/09/00 11:36 Alex $
  11. //
  12.  
  13. // Dependencies ////////////////////////////////////////////////////////////////
  14.  
  15. // NOTE! the dialogue used in this mission is loaded by the iActThree package from the iAct3Master.csv, not by iExodusTraffic package itself.
  16.  
  17.  
  18. // Enumerated types ////////////////////////////////////////////////////////////
  19.  
  20. enum eStationSize
  21. {
  22.     Station_Small    = 999,        // Small size  - 3 slots
  23.     Station_Medium    = 5000,        // Medium size - 8
  24.     Station_Big        = 10000        // The maximum station size used. 12 slots
  25. };
  26.  
  27. enum eRetreatType
  28. {
  29.     Retreat_Armed,
  30.     Retreat_Civilian,
  31.     Retreat_Mining,
  32.     Retreat_Pillager,
  33.     Retreat_Police,
  34.     Retreat_Tanker,
  35.     Retreat_Trade,
  36.     Retreat_Stranded
  37. };
  38.  
  39. // Function Prototypes ////////////////////////////////////////////////////////
  40.  
  41.  
  42. // get_interstellar_l_point_in ( string system )
  43. //
  44. // Finds the interstellar l-point in a system
  45. // This is an ugly bug kludge and won't work outside gagarin!
  46.  
  47. prototype hmapentity iExodusTraffic.GetInterstellarLPointIn ( string system );
  48.  
  49. //
  50. // set CreateMagicCubeRelativeTo(hisim center, float x, float y, float z)
  51. //
  52. // builds the magic cube: (locations of refugee fleet in fomalhaut)
  53. //
  54. // being a set of waypoints arranged in a 3d grid (5x5x5) in space
  55. // each distant from it's nearest neighbors by 750km
  56. //
  57. // as the player approaches each waypoint, refugee ships will be created there.
  58. //
  59. // helper function for Event3_40_PreparingTheDefences
  60. prototype set iExodusTraffic.CreateMagicCubeRelativeTo(hisim center, float x, float y, float z);
  61.  
  62. // create fomalhaut refugees
  63. //
  64. // Create a stack of refugees in the fomalhaut system
  65.  
  66. prototype hgroup iExodusTraffic.CreateFomalhautRefugees(hsim waypoint);
  67.  
  68. // main exported function
  69. // deals with traffic fleeing in most systems, and special traffic in fomalhaut
  70. prototype task iExodusTraffic.ExodusTrafficGenerator();
  71.  
  72. prototype iExodusTraffic.DisableAllTrafficInSystem(string system);
  73.